package com.kuhyygy.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

/**
 * 广播
 * @author acer
 *
 */
public class SimpleBroadcast extends BroadcastReceiver {
	
	private static final String TAG = SimpleBroadcast.class.getName();

	public SimpleBroadcast() {
		Log.i(TAG, TAG);
	}

	@Override
	public void onReceive(Context context, Intent i) {
		Toast.makeText(context, "hello netword", Toast.LENGTH_LONG).show();
	}

}
